<!--#include("header.html")-->

<table cellspacing="0" border="1" summary="List of Articles" class="wikiList">
    <thead>
        <tr>
            <th scope="col" class="title">{$lang->title}</th>
            <th scope="col">{$lang->author}</th>
            <th scope="col">{$lang->date}</th>
        </tr>
    </thead>
    <tbody>
        <!--@if(!$page || $page == 1)-->
        <tr>
            <td class="title"><a href="{getUrl('act','',page,'','history_srl','')}">{$oDocument->getTitle()} (current)</a></td>
            <td class="author">{$oDocument->getNickName()}</td>
            <td class="date">{$oDocument->getUpdate()}</td>
        </tr>
        <!--@end-->

        <!--@foreach($histories as $val)-->
        <tr>
            <td class="title">
                <span class="buttonOfficial"><button type="button" onclick="jQuery('#historyContent{$val->history_srl}').toggleClass('hide');return false;">{$lang->cmd_view}</button></span>
                <span class="buttonOfficial"><button type="button" onclick="location.href='{getUrl('act','dispWikiEditPage','history_srl',$val->history_srl)}';return false;">{$lang->restore}</button></span>
                <div id="historyContent{$val->history_srl}" class="hide">{$val->content}</div>
            </td>
            <td class="author"><a href="#" onclick="return false;" class="member_{$val->member_srl}">{$val->nick_name}</a></td>
            <td class="date">{zdate($val->regdate, 'Y.m.d H:i:s')}</td>
        </tr>
        <!--@end-->
    </tbody>
</table>


<!--@if($page_navigation)-->
    <div class="pagination a1">
        <a href="{getUrl('page','')}" class="prevEnd">{$lang->first_page}</a> 
        <!--@while($page_no = $page_navigation->getNextPage())-->
            <!--@if($page == $page_no)-->
                <strong>{$page_no}</strong> 
            <!--@else-->
                <a href="{getUrl('page',$page_no)}">{$page_no}</a>
            <!--@end-->
        <!--@end-->
        <a href="{getUrl('page',$page_navigation->last_page)}" class="nextEnd">{$lang->last_page}</a>
    </div>
<!--@endif-->

<!--#include("footer.html")-->
